
const ENV = 'dev'

var dbUser = 'memory'
var dbPwd = 'xjz19950520'
var dbPort = 27017
var dbUrl = 'memoryclass.xyz'
var dbName = 'memoryclass'

var port = 8088

if (ENV == 'dev') {
    dbUrl = 'localhost'
    port = 3000
}

module.exports = {
    admin: {
        name: 'admin',
        password: 'xujiazheng',
        adminId: '3740jdflj302u54o'
    },
    port: port,
    siteEmail: '1131029395@qq.com',
    mongodbUrl: 'mongodb://' + dbUser + ':' + dbPwd + '@' + dbUrl + ':' + dbPort + '/' + dbName
}